import request from "@/utils/http";
export const getGoodsDetailAPI = (id) => {
  return request({ url: "/goods", data: { id } });
};

// 1. API
export const getGoodsRelevantAPI = (id, limit = 4) => {
  return request({
    url: "/goods/relevant",
    data: {
      id,
      limit,
    },
  });
};
